import request from '@/utils/request'
export function getCompanies (params) {
  return request({
    url: '/api/Field/EmployeeSelect/GetCompanies',
    method: 'get',
    params,
  })
}

export function getEmployees (params) {
  return request({
    url: '/api/Field/EmployeeSelect/GetEmployees',
    method: 'get',
    params,
  })
}

export function getCompany (id) {
  return request({
    url: '/api/Field/EmployeeSelect/GetCompany',
    method: 'get',
    params: { id },
  })
}

export function getEmployee (id) {
  return request({
    url: '/api/Field/EmployeeSelect/GetEmployee',
    method: 'get',
    params: { id },
  })
}
